package cn.zouchanglin.spider_xpu.contant;

import lombok.Data;

/**
 * 教务处地址等常量
 * @author zouchanglin
 */
@Data
public class SpiderConstant {
    /**
     * URL
     */
    public static String BASE_URL = "http://202.200.206.54";

    /**
     * IP
     */
    public static String BASE_IP = "202.200.206.54";

    /**
     * 设置URL
     * @param baseUrl baseUrl
     */
    public static void setBaseUrl(String baseUrl){
        SpiderConstant.BASE_URL = baseUrl;
    }

    /**
     * 设置IP
     * @param baseIp baseIp
     */
    public static void setBaseIp(String baseIp){
        SpiderConstant.BASE_IP = baseIp;
    }
}
